﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:Drafter_ViewModel="clr-namespace:Drafter.ViewModel"
        xmlns:FluidKit_Controls="clr-namespace:FluidKit.Controls;assembly=FluidKit" x:Name="window" x:Class="Drafter.MainWindowView"
        mc:Ignorable="d"
        DataContext="{Binding MainWindow, Source={StaticResource Locator}}" 
    	WindowStyle="None" WindowState="Maximized" Background="Black"  d:DesignWidth="869" d:DesignHeight="640" xmlns:my="clr-namespace:Drafter">
    <Window.Resources>

        <FluidKit_Controls:FlipTransition x:Key="FlipTransition"/>
        <FluidKit_Controls:CubeTransition x:Key="CubeTransition"/>
        
        <FontFamily x:Key="FontFamily-Sketch">/DrafterSketchFlow.Screens;component/Fonts/#Buxton Sketch</FontFamily>
        <SolidColorBrush x:Key="BaseForeground-Sketch" Color="#FF606060"/>



        <!-- Basic Sketch TextBlock -->
        <Style x:Key="BasicTextBlock-Sketch" TargetType="{x:Type TextBlock}" d:StyleDefaultContent="Basic Text">
            <Setter Property="TextWrapping" Value="NoWrap"/>
            <Setter Property="TextTrimming" Value="None"/>
            <Setter Property="FontFamily" Value="{DynamicResource FontFamily-Sketch}"/>
            <Setter Property="FontSize" Value="16"/>
            <Setter Property="Foreground" Value="{DynamicResource BaseForeground-Sketch}"/>
        </Style>
        <Storyboard x:Key="WindowFadeIn">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="window">
                <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                <SplineDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="WindowFadeOut">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="window">
                <SplineDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>

    </Window.Resources>
    <Window.Triggers>
        <EventTrigger RoutedEvent="FrameworkElement.Loaded">
            <BeginStoryboard x:Name="WindowFadeIn_BeginStoryboard" Storyboard="{StaticResource WindowFadeIn}"/>
        </EventTrigger>
    </Window.Triggers>

    <Grid>
    	
        <FluidKit_Controls:TransitionPresenter x:Name="TransitionContainer">
            <my:AboutView x:Name="About"/>
            <my:OptionsView x:Name="Options"/>
        	<my:InitialView x:Name="Initial"/>
            <my:EditView x:Name="Edit"/>
            
           
        </FluidKit_Controls:TransitionPresenter>
        
    </Grid>

</Window>
